package org.dromara.product.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 入库记录对象 ky_stock_in_records
 *
 * @author kuyu
 * @date 2023-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ky_stock_in_records")
public class KyStockInRecords extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private String warehouseId;

    /**
     * 入库编号
     */
    private String stockNo;

    /**
     *
     */
    private String mid;

    /**
     * 操作平台
     */
    private String platform;

    /**
     * 操作版本号
     */
    @Version
    private String version;

    /**
     * 入库类型id
     */
    private String inTypeId;

    /**
     * 供应商id
     */
    private String supplyId;

    /**
     *
     */
    private String images;

    /**
     * 调拨关联出库表id
     */
    private String transOutId;

    /**
     * 库位
     */
    private String zoneId;

    /**
     * 0申请,1审核中,2完成,-1拒绝
     */
    private Integer status;

    /**
     * 单据打印次数
     */
    private Long printNum;

    /**
     *
     */
    private String recordInfo;

    /**
     *
     */
    private String mark;

    /**
     *
     */
    private String custom;

    /**
     *
     */
    private Long approveLevel;

    /**
     *
     */
    private String transId;

    /**
     *
     */
    private String fromWarehouseId;

    /**
     *
     */
    private String fromZoneId;


}


